package com.agileboot.domain.medicine.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MedicineInfoVO {
    @JsonSerialize(using = ToStringSerializer.class)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private String id;
    //中文名字
    @ApiModelProperty("中文名字")
    private String name;
    //别名
    @ApiModelProperty("别名")
    private String nickName;
    //采收加工
    @ApiModelProperty("采收加工")
    private String gather;
    //药材性状
    @ApiModelProperty("药材性状")
    private String shape;
    //植物形态
    @ApiModelProperty("植物形态")
    private String originalForm;
    //图片列表
    @ApiModelProperty("图片列表")
    private String image;
    //产地分布
    @ApiModelProperty("产地分布")
    private String address;
    //性味归经
    @ApiModelProperty("性味归经")
    private String flavorTropism;
    //功用主治
    @ApiModelProperty("功用主治")
    private String effect;
    //化学成分
    @ApiModelProperty("化学成分")
    private String composition;
    //宜忌
    @ApiModelProperty("宜忌")
    private String taboo;
    //分类类型
    @ApiModelProperty("分类类型")
    private String type;
    //补充
    @ApiModelProperty("补充")
    private String supplement;
    //状态，默认为0.发布为1
    private Integer status;
    //创建时间
    private String createTime;
}
